package com.whty.cms.filewps.util;

public enum ContentTypeEnum {
	
	APPLICATION_JSON(1, "application/json;charset=utf-8"),
	TEXT_PLAI(2, "text/plain;charset=utf-8"),
	APPLICATION_OCTET_STREAM(3, "application/octet-stream;charset=utf-8"),
	APPLICATION_XML(4, "application/xml;charset=utf-8"),
	TEXT_HTML(5, "text/html;charset=utf-8");
	
	private Integer code;
	
	private String value;
	
	ContentTypeEnum(Integer code, String value){
		this.code = code;
		this.value = value;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	

}
